﻿using System;
using Yappi.Common;

namespace Yappi.Samples.Concepts
{
    public static class WrappedConcept<TConcept> where TConcept:Concept
    {
        //generating type, drived from TConcept
        public static readonly Singleton<Type> Type =new Singleton<Type>(()=>PropertyProxy.ConstructType<TConcept, Concept.Implementation<TConcept>>(typeof(TConcept).GetInterfaces(),true));
    }
}
